'''
请打印出 "上海" 和 ["上海"]
请打印 “山东”和["山东"]
请打印 [“北京”,"上海",“广州”,"山东"]
请打印 ["上海","杭州","广州"]
'''
t_city = ["北京","天津","上海","杭州","广州","深圳","山东"]

print(t_city[2])
print(t_city[2:3])

print(t_city[-1])
print(t_city[-1::1])

print(t_city[::2])
print(t_city[2:5])